<script setup>
defineProps(['count']);

console.log('子 —— created');
onBeforeMount(() => {
  console.log('子 —— beforeMount');
});

onMounted(() => {
  console.log('子 —— mounted');
});

onBeforeUpdate(() => {
  console.log('子 —— beforeUpdate');
});

onUpdated(() => {
  console.log('子 —— updated');
});

onBeforeUnmount(() => {
  console.log('子 —— beforeUnmount');
});

onUnmounted(() => {
  console.log('子 —— unmounted');
});
</script>

<template></template>
